﻿<%@ Page Language="C#" MasterPageFile="~/AdminCP/AdminCP.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="AdminCP_Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphBody" runat="Server">
    <div id="middle">
        <div id="left-column">
            <a href="#" class="link">
                <%=Resources.Lang.admincpCatalog %>
            </a>
            <ul class="nav">
                <li><a href="Products.aspx">
                    <%=Resources.Lang.admincpProducts %>
                </a></li>
                <li><a href="Categories.aspx">
                    <%=Resources.Lang.admincpCategories %>
                </a></li>
                <li class="last"><a href="Manufacturers.aspx">
                    <%=Resources.Lang.Manufacturers %>
                </a></li>
            </ul>
            <a href="#" class="link">
                <%=Resources.Lang.admincpCustomers %>
            </a>
            <ul class="nav">
                <li><a href="Members.aspx">
                    <%=Resources.Lang.admincpMembers %>
                </a></li>
                <li><a href="Orders.aspx">
                    <%=Resources.Lang.admincpOrders %>
                </a></li>
                <li class="last"><a href="Contact.aspx">
                    <%=Resources.Lang.admincpContact %>
                </a></li>
            </ul>
            <a runat="server" id="SystemLink" href="#" class="link">
                <%=Resources.Lang.admincpSystem %>
            </a>
            <ul class="nav">
                <li runat="server" id="AdsLink"><a href="Advertisements.aspx">
                    <%=Resources.Lang.admincpAdvertisements %>
                </a></li>
                <li class="last" runat="server" id="LogLink"><a href="Logs.aspx">Logs </a></li>
            </ul>
        </div>
        <div id="center-column">
            <div class="top-bar">
                <h1>
                    <%=Resources.Lang.admincpStatistics %>
                </h1>
            </div>
            <br />
            <br />
            <br />
            <div class="table">
                <img src="AdminImages/bg-th-left.gif" width="8" height="7" alt="" class="left" />
                <img src="AdminImages/bg-th-right.gif" width="7" height="7" alt="" class="right" />
                <table class="listing form" cellpadding="0" cellspacing="0">
                    <tr>
                        <th class="full" colspan="2">
                            <%=Resources.Lang.shop %>
                        </th>
                    </tr>
                    <tr>
                        <td class="first" width="172">
                            <strong>
                                <%=Resources.Lang.admincpProductsCount%>
                            </strong>
                        </td>
                        <td class="last">
                            <%=Web.Core.Objects.Products.CountAllProducts((int)Session["Language"]) %>
                        </td>
                    </tr>
                    <tr class="bg">
                        <td class="first">
                            <strong>
                                <%=Resources.Lang.admincpCategoriesCount %>
                            </strong>
                        </td>
                        <td class="last">
                            <%=Web.Core.Objects.Categories.CountAllCategories((int)Session["Language"]) %>
                        </td>
                    </tr>
                    <tr>
                        <td class="first"">
                            <strong>
                                <%=Resources.Lang.admincpMembersCount %>
                            </strong>
                        </td>
                        <td class="last">
                            <%=Web.Core.Objects.Members.CountAllMembers() %>
                        </td>
                    </tr>
                </table>
                <p>
                    &nbsp;</p>
            </div>
        </div>
        <div id="right-column">
            <strong class="h">
                <%=Resources.Lang.admincpInfo %>
            </strong>
            <div class="box">
                <%=Resources.Lang.admincpHomeInfo %>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphTitle" runat="Server">
    Admin Control Panel
</asp:Content>
